package cn.cloudreal.cbms.accrual.service.impl;

import java.util.List;
import java.util.Map;

import cn.cloudreal.cbms.accrual.dao.AccrualDao;
import cn.cloudreal.cbms.accrual.service.AccrualService;
import cn.cloudreal.cbms.common.util.PageBean;
import cn.cloudreal.cbms.vo.ContractAccrual;
import cn.cloudreal.cbms.vo.ItemAccrual;

public class AccrualServiceImpl implements AccrualService{
	/** 服务 */
    AccrualDao accrualDao;

	public AccrualDao getAccrualDao() {
		return accrualDao;
	}

	public void setAccrualDao(AccrualDao accrualDao) {
		this.accrualDao = accrualDao;
	}

	public List<ItemAccrual> getTotalAccrualList(Map condition, PageBean page) {
		
		 return accrualDao.getTotalAccrualList(condition, page);
	}

	public List<ContractAccrual> getContractAccrualList(Map condition,PageBean page) {
		return accrualDao.getContractAccrualList(condition, page);
	}

	public int getTotalAccrualCount(Map condition) 
	{
		return accrualDao.getTotalAccrualCount(condition);
	}

	public int getContractAccrualCount(Map condition) {
		
		return accrualDao.getContractAccrualCount(condition);
	}
	
	
}
